#-------------------------------------------------
#
# Project created by QtCreator 2011-09-13T20:39:19
#
#-------------------------------------------------

QT       += core gui declarative

TARGET = QREncoder
TEMPLATE = app
DESTDIR = bin
OBJECTS_DIR = obj
MOC_DIR = moc
UI_DIR = intermediate_ui_files


win32:QMAKE_POST_LINK = cmd /c copy.bat
macx{
    QRENCODE_FILE.files = backend/mac/qrencode
    APP_QML_FILES.path = Contents/Resources/qml
    APP_QML_FILES.files = qml/
    QMAKE_BUNDLE_DATA += APP_QML_FILES
    QRENCODE_FILE.path = Contents/MacOS
    QMAKE_BUNDLE_DATA += QRENCODE_FILE


}
win32:RC_FILE = icon.rc
macx:ICON = icons/icon.icns


SOURCES += src/main.cpp\
        src/mainwindow.cpp \
    src/encoder.cpp \
   src/qmlapplicationviewer.cpp

HEADERS  += src/mainwindow.h \
    src/encoder.h \
    src/qmlapplicationviewer.h

FORMS    +=ui/mainwindow.ui

OTHER_FILES += \
    icons/icon.icns \
    icon.rc \
    qml/QRTypesDelegate.qml \
    qml/QRTypes.qml \
    qml/mainAlternative.qml \
    qml/main.qml \
    qml/FreeText.qml \
    qml/Card.qml

